﻿@model HandleErrorInfo
@{
   Layout = "~/Views/Shared/_LogOnLayout.cshtml"; 
}

<h2>Un handled error occured</h2>

@Response.StatusCode
<br />
@Response.StatusDescription
 
@if (Model != null)
{
    <p>@Model.Exception.GetType().Name<br />
    thrown in @Model.ControllerName @Model.ActionName</p>
}


@if (Model != null)
{
    <p>@Model.Exception.GetType().Name</p>
           
    <p>
        Controller: @Model.ControllerName
    </p>
    <p>
        Action: @Model.ActionName
    </p>
    <p>
        Message: @Model.Exception.Message
    </p>
    <p>
        Stack Trace: @Model.Exception.StackTrace
    </p>
}